﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.Collections.ObjectModel;

namespace Chaliy.DbPro.Generators.TextAuthoring.Configuration
{
	[XmlRoot("Word")]
	public class WordConfiguration
	{
		#region Fields

		private Collection<TermConfiguration> samples;		

		#endregion

		#region Properties

		[XmlArray]
		[XmlArrayItem("Term")]
		public Collection<TermConfiguration> Samples
		{
			get
			{
				if (this.samples == null)
				{
					this.samples = new Collection<TermConfiguration>();
				}
				return this.samples;
			}			
		}

		#endregion
	}
}
